//
//  SDJSONModel.h
//  SKinDiary
//
//  Created by pcyang on 16/7/7.
//  Copyright © 2016年 tencent. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol SDModelProtocol <NSObject>
@optional
+ (NSString*)classNameForObjectInArrayProperty:(NSString*)property;
+ (NSString*)propertyNameFromParsedKey:(NSString*)key;
- (void)manualResetWithInfo:(NSDictionary*)info;
+ (NSSet*)ignoredPropertiesWhenEncoding;
@end

@interface SDJSONModel : NSObject <SDModelProtocol>
- (id)initWithInfo:(NSDictionary*)info;
@end

@interface SDJSONModel (Object_Parser)
+ (NSArray*)modelsWithInfos:(NSArray*)infos;
- (void)resetWithInfo:(NSDictionary*)info;
@end

@interface SDJSONModel (Object_Coding) <NSCoding>
@end